package com.pipi.sso.core.service;

import com.pipi.sso.core.model.StudentBO;
import com.pipi.sso.dao.support.PageResult;

import java.util.List;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.pipi.sso.core.service
 * @date: 2019/3/30 12:01 PM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 */
public interface StudentService {

    /**
     * <p> 分页条件查询学生信息 </p>
     * @param studentBO
     * @return PageResult<StudentBO>
     * @throws       
     * @author zhaojian (pipi@`maihaoche.com)
     * @date 2019/3/30 12:41 PM
     */
    PageResult<StudentBO> queryStudentByPage(StudentBO studentBO);

    /**
     * <p> 查询学生信息 </p>
     * @param studentBO
     * @return List<StudentBO>
     * @throws
     * @date 2019/3/30 12:42 PM
     */
    List<StudentBO> queryStudent(StudentBO studentBO);
    
    /**
     * <p> 添加学生 </p>
     * @param studentBO
     * @return Boolean
     * @throws
     * @date 2019/3/30 12:43 PM
     */
    Boolean addStudent(StudentBO studentBO);
    
    /**
     * <p> 更新学生信息 </p>
     * @param studentBO
     * @return Boolean
     * @throws
     * @date 2019/3/30 12:43 PM
     */
    Boolean updateStudent(StudentBO studentBO);

    /**
     * <p> 删除学生信息 </p>
     * @param studentIds
     * @return Boolean
     * @throws
     * @date 2019/3/31 1:30 AM
     */
    void deleteStudent(List<Long> studentIds);
}
